﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EttainGroup.Filters
{
    public class FilterDefinition
    {
        //public int id { get; set; }
        public string EntityName { get; set; }
        public string PropertyName { get; set; }
        public string Group { get; set; }
        public FilterComparisonType ComparisonType { get; set; }
        public List<FilterDefinitionValue> Values { get; set; }
        public FilterValueType ValueType { get; set; }
       
    }

    public class FilterDefinitionValue
    {
        public string Value { get; set; }
        public string Secondary { get; set; }
        
    }
    public class FilterGroupDefinition
    {
        public string ComponentName { get; set; }
        public int EntityId { get; set; }
        public int GroupId { get; set; }
        public List<FilterDefinition> Filters { get; set; }
    }
}
